package entity.orderEntity;

import java.util.Date;

public class Operate {
    private Integer operate_id;

    private String operate_name;

    private Integer operate_type;

    private Date operate_time;

    private Integer order_id;

    private Integer order_state;

    private Integer pay_state;

    private Integer ship_state;

    private String remark;

    public Integer getOperate_id() {
        return operate_id;
    }

    public void setOperate_id(Integer operate_id) {
        this.operate_id = operate_id;
    }

    public String getOperate_name() {
        return operate_name;
    }

    public void setOperate_name(String operate_name) {
        this.operate_name = operate_name == null ? null : operate_name.trim();
    }

    public Integer getOperate_type() {
        return operate_type;
    }

    public void setOperate_type(Integer operate_type) {
        this.operate_type = operate_type;
    }

    public Date getOperate_time() {
        return operate_time;
    }

    public void setOperate_time(Date operate_time) {
        this.operate_time = operate_time;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getOrder_state() {
        return order_state;
    }

    public void setOrder_state(Integer order_state) {
        this.order_state = order_state;
    }

    public Integer getPay_state() {
        return pay_state;
    }

    public void setPay_state(Integer pay_state) {
        this.pay_state = pay_state;
    }

    public Integer getShip_state() {
        return ship_state;
    }

    public void setShip_state(Integer ship_state) {
        this.ship_state = ship_state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", operate_id=").append(operate_id);
        sb.append(", operate_name=").append(operate_name);
        sb.append(", operate_type=").append(operate_type);
        sb.append(", operate_time=").append(operate_time);
        sb.append(", order_id=").append(order_id);
        sb.append(", order_state=").append(order_state);
        sb.append(", pay_state=").append(pay_state);
        sb.append(", ship_state=").append(ship_state);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}